package fm.last.api
{
    import fm.last.BaseTC;
    

    public class GeoAPITest extends BaseTC
    {
        
        
        public function GeoAPITest()
        {
            super();
            addTest("testGetEvents"); 
            addTest("testGetTopArtists"); 
            addTest("testGetTopTracks");            
        }
     
     
        
        
        public function testGetEvents():void 
        {
            lfm_service.geo.getEvents(expectedPattern("/lfm/events") ,unexpectedError, "madrid");
        }
        
        public function testGetTopArtists():void 
        {
            lfm_service.geo.getTopArtists(expectedPattern("/lfm/topartists"), unexpectedError, "spain");
        }
        
        public function testGetTopTracks():void 
        {
            lfm_service.geo.getTopTracks(expectedPattern("/lfm/toptracks"), unexpectedError, "spain");
        }
    }
}